﻿using System;
using System.Threading;

namespace HCAD.CircularWorkingScaffoldAssistant.Component.Infrastructure
{
    public class Asynchronizer<T>
    {
        public void Process(T msg)
        {
            ThreadPool.QueueUserWorkItem(x => Result(msg));
        }

        public Action<T> Result;
    }
}